'use strict';

function get_intersection(collection_a, collection_b) {
  var result=new Array();
  for(var n=0;n<collection_b.length;n++){
    for(var i=0;i<collection_a.length;i++){
      if(collection_a[i]==collection_b[n]){
      result.push(collection_a[i]);}
    }
  }
  return result;
}

module.exports = get_intersection;
